package com.fuxi.cloud.desreport.entity;

import com.fuxi.cloud.common.vo.JmDictModel;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * JimuReport
 *
 * @Author: 扫地僧
 * @CreateTime: 2021-05-03
 */
public class JimuReport {
    private String id;
    private String code;
    private String name;
    private String note;
    private String status;
    private String type;
    private String jsonStr;
    private String apiUrl;
    private String apiMethod;
    private String apiCode;
    private String thumb;
    private Integer template;
    private String createBy;
    private Date createTime;
    private String updateBy;
    private Date updateTime;
    private Map<String, Object> dataList;
    private Map<String, List<JmDictModel>> dictInfo;
    @Excel(
            name = "删除标识",
            width = 15.0D
    )
    private Integer delFlag;
    private Long viewCount;

    public JimuReport() {
    }

    public String getId() {
        return this.id;
    }

    public String getCode() {
        return this.code;
    }

    public String getName() {
        return this.name;
    }

    public String getNote() {
        return this.note;
    }

    public String getStatus() {
        return this.status;
    }

    public String getType() {
        return this.type;
    }

    public String getJsonStr() {
        return this.jsonStr;
    }

    public String getApiUrl() {
        return this.apiUrl;
    }

    public String getApiMethod() {
        return this.apiMethod;
    }

    public String getApiCode() {
        return this.apiCode;
    }

    public String getThumb() {
        return this.thumb;
    }

    public Integer getTemplate() {
        return this.template;
    }

    public String getCreateBy() {
        return this.createBy;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public String getUpdateBy() {
        return this.updateBy;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }

    public Map<String, Object> getDataList() {
        return this.dataList;
    }

    public Map<String, List<JmDictModel>> getDictInfo() {
        return this.dictInfo;
    }

    public Integer getDelFlag() {
        return this.delFlag;
    }

    public Long getViewCount() {
        return this.viewCount;
    }

    public JimuReport setId(String id) {
        this.id = id;
        return this;
    }

    public JimuReport setCode(String code) {
        this.code = code;
        return this;
    }

    public JimuReport setName(String name) {
        this.name = name;
        return this;
    }

    public JimuReport setNote(String note) {
        this.note = note;
        return this;
    }

    public JimuReport setStatus(String status) {
        this.status = status;
        return this;
    }

    public JimuReport setType(String type) {
        this.type = type;
        return this;
    }

    public JimuReport setJsonStr(String jsonStr) {
        this.jsonStr = jsonStr;
        return this;
    }

    public JimuReport setApiUrl(String apiUrl) {
        this.apiUrl = apiUrl;
        return this;
    }

    public JimuReport setApiMethod(String apiMethod) {
        this.apiMethod = apiMethod;
        return this;
    }

    public JimuReport setApiCode(String apiCode) {
        this.apiCode = apiCode;
        return this;
    }

    public JimuReport setThumb(String thumb) {
        this.thumb = thumb;
        return this;
    }

    public JimuReport setTemplate(Integer template) {
        this.template = template;
        return this;
    }

    public JimuReport setCreateBy(String createBy) {
        this.createBy = createBy;
        return this;
    }

    public JimuReport setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }

    public JimuReport setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
        return this;
    }

    public JimuReport setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
        return this;
    }

    public JimuReport setDataList(Map<String, Object> dataList) {
        this.dataList = dataList;
        return this;
    }

    public JimuReport setDictInfo(Map<String, List<JmDictModel>> dictInfo) {
        this.dictInfo = dictInfo;
        return this;
    }

    public JimuReport setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
        return this;
    }

    public JimuReport setViewCount(Long viewCount) {
        this.viewCount = viewCount;
        return this;
    }

    public String toString() {
        return "JimuReport(id=" + this.getId() + ", code=" + this.getCode() + ", name=" + this.getName() + ", note=" + this.getNote() + ", status=" + this.getStatus() + ", type=" + this.getType() + ", jsonStr=" + this.getJsonStr() + ", apiUrl=" + this.getApiUrl() + ", apiMethod=" + this.getApiMethod() + ", apiCode=" + this.getApiCode() + ", thumb=" + this.getThumb() + ", template=" + this.getTemplate() + ", createBy=" + this.getCreateBy() + ", createTime=" + this.getCreateTime() + ", updateBy=" + this.getUpdateBy() + ", updateTime=" + this.getUpdateTime() + ", dataList=" + this.getDataList() + ", dictInfo=" + this.getDictInfo() + ", delFlag=" + this.getDelFlag() + ", viewCount=" + this.getViewCount() + ")";
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof JimuReport)) {
            return false;
        } else {
            JimuReport var2 = (JimuReport)o;
            if (!var2.canEqual(this)) {
                return false;
            } else {
                label251: {
                    Integer var3 = this.getTemplate();
                    Integer var4 = var2.getTemplate();
                    if (var3 == null) {
                        if (var4 == null) {
                            break label251;
                        }
                    } else if (var3.equals(var4)) {
                        break label251;
                    }

                    return false;
                }

                Integer var5 = this.getDelFlag();
                Integer var6 = var2.getDelFlag();
                if (var5 == null) {
                    if (var6 != null) {
                        return false;
                    }
                } else if (!var5.equals(var6)) {
                    return false;
                }

                Long var7 = this.getViewCount();
                Long var8 = var2.getViewCount();
                if (var7 == null) {
                    if (var8 != null) {
                        return false;
                    }
                } else if (!var7.equals(var8)) {
                    return false;
                }

                label230: {
                    String var9 = this.getId();
                    String var10 = var2.getId();
                    if (var9 == null) {
                        if (var10 == null) {
                            break label230;
                        }
                    } else if (var9.equals(var10)) {
                        break label230;
                    }

                    return false;
                }

                label223: {
                    String var11 = this.getCode();
                    String var12 = var2.getCode();
                    if (var11 == null) {
                        if (var12 == null) {
                            break label223;
                        }
                    } else if (var11.equals(var12)) {
                        break label223;
                    }

                    return false;
                }

                label216: {
                    String var13 = this.getName();
                    String var14 = var2.getName();
                    if (var13 == null) {
                        if (var14 == null) {
                            break label216;
                        }
                    } else if (var13.equals(var14)) {
                        break label216;
                    }

                    return false;
                }

                String var15 = this.getNote();
                String var16 = var2.getNote();
                if (var15 == null) {
                    if (var16 != null) {
                        return false;
                    }
                } else if (!var15.equals(var16)) {
                    return false;
                }

                label202: {
                    String var17 = this.getStatus();
                    String var18 = var2.getStatus();
                    if (var17 == null) {
                        if (var18 == null) {
                            break label202;
                        }
                    } else if (var17.equals(var18)) {
                        break label202;
                    }

                    return false;
                }

                String var19 = this.getType();
                String var20 = var2.getType();
                if (var19 == null) {
                    if (var20 != null) {
                        return false;
                    }
                } else if (!var19.equals(var20)) {
                    return false;
                }

                label188: {
                    String var21 = this.getJsonStr();
                    String var22 = var2.getJsonStr();
                    if (var21 == null) {
                        if (var22 == null) {
                            break label188;
                        }
                    } else if (var21.equals(var22)) {
                        break label188;
                    }

                    return false;
                }

                String var23 = this.getApiUrl();
                String var24 = var2.getApiUrl();
                if (var23 == null) {
                    if (var24 != null) {
                        return false;
                    }
                } else if (!var23.equals(var24)) {
                    return false;
                }

                String var25 = this.getApiMethod();
                String var26 = var2.getApiMethod();
                if (var25 == null) {
                    if (var26 != null) {
                        return false;
                    }
                } else if (!var25.equals(var26)) {
                    return false;
                }

                label167: {
                    String var27 = this.getApiCode();
                    String var28 = var2.getApiCode();
                    if (var27 == null) {
                        if (var28 == null) {
                            break label167;
                        }
                    } else if (var27.equals(var28)) {
                        break label167;
                    }

                    return false;
                }

                label160: {
                    String var29 = this.getThumb();
                    String var30 = var2.getThumb();
                    if (var29 == null) {
                        if (var30 == null) {
                            break label160;
                        }
                    } else if (var29.equals(var30)) {
                        break label160;
                    }

                    return false;
                }

                String var31 = this.getCreateBy();
                String var32 = var2.getCreateBy();
                if (var31 == null) {
                    if (var32 != null) {
                        return false;
                    }
                } else if (!var31.equals(var32)) {
                    return false;
                }

                Date var33 = this.getCreateTime();
                Date var34 = var2.getCreateTime();
                if (var33 == null) {
                    if (var34 != null) {
                        return false;
                    }
                } else if (!var33.equals(var34)) {
                    return false;
                }

                label139: {
                    String var35 = this.getUpdateBy();
                    String var36 = var2.getUpdateBy();
                    if (var35 == null) {
                        if (var36 == null) {
                            break label139;
                        }
                    } else if (var35.equals(var36)) {
                        break label139;
                    }

                    return false;
                }

                Date var37 = this.getUpdateTime();
                Date var38 = var2.getUpdateTime();
                if (var37 == null) {
                    if (var38 != null) {
                        return false;
                    }
                } else if (!var37.equals(var38)) {
                    return false;
                }

                Map var39 = this.getDataList();
                Map var40 = var2.getDataList();
                if (var39 == null) {
                    if (var40 != null) {
                        return false;
                    }
                } else if (!var39.equals(var40)) {
                    return false;
                }

                Map var41 = this.getDictInfo();
                Map var42 = var2.getDictInfo();
                if (var41 == null) {
                    if (var42 != null) {
                        return false;
                    }
                } else if (!var41.equals(var42)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof JimuReport;
    }

    public int hashCode() {
        boolean var1 = true;
        byte var2 = 1;
        Integer var3 = this.getTemplate();
        int var23 = var2 * 59 + (var3 == null ? 43 : var3.hashCode());
        Integer var4 = this.getDelFlag();
        var23 = var23 * 59 + (var4 == null ? 43 : var4.hashCode());
        Long var5 = this.getViewCount();
        var23 = var23 * 59 + (var5 == null ? 43 : var5.hashCode());
        String var6 = this.getId();
        var23 = var23 * 59 + (var6 == null ? 43 : var6.hashCode());
        String var7 = this.getCode();
        var23 = var23 * 59 + (var7 == null ? 43 : var7.hashCode());
        String var8 = this.getName();
        var23 = var23 * 59 + (var8 == null ? 43 : var8.hashCode());
        String var9 = this.getNote();
        var23 = var23 * 59 + (var9 == null ? 43 : var9.hashCode());
        String var10 = this.getStatus();
        var23 = var23 * 59 + (var10 == null ? 43 : var10.hashCode());
        String var11 = this.getType();
        var23 = var23 * 59 + (var11 == null ? 43 : var11.hashCode());
        String var12 = this.getJsonStr();
        var23 = var23 * 59 + (var12 == null ? 43 : var12.hashCode());
        String var13 = this.getApiUrl();
        var23 = var23 * 59 + (var13 == null ? 43 : var13.hashCode());
        String var14 = this.getApiMethod();
        var23 = var23 * 59 + (var14 == null ? 43 : var14.hashCode());
        String var15 = this.getApiCode();
        var23 = var23 * 59 + (var15 == null ? 43 : var15.hashCode());
        String var16 = this.getThumb();
        var23 = var23 * 59 + (var16 == null ? 43 : var16.hashCode());
        String var17 = this.getCreateBy();
        var23 = var23 * 59 + (var17 == null ? 43 : var17.hashCode());
        Date var18 = this.getCreateTime();
        var23 = var23 * 59 + (var18 == null ? 43 : var18.hashCode());
        String var19 = this.getUpdateBy();
        var23 = var23 * 59 + (var19 == null ? 43 : var19.hashCode());
        Date var20 = this.getUpdateTime();
        var23 = var23 * 59 + (var20 == null ? 43 : var20.hashCode());
        Map var21 = this.getDataList();
        var23 = var23 * 59 + (var21 == null ? 43 : var21.hashCode());
        Map var22 = this.getDictInfo();
        var23 = var23 * 59 + (var22 == null ? 43 : var22.hashCode());
        return var23;
    }
}
